﻿using System.Collections.Generic;
using System.Threading.Tasks;

using Volo.Abp.Domain.Entities;
using Volo.Abp.Domain.Repositories;

namespace Hang.Blog.DomainPlus {

    public interface IExtendRepository<TDbContext, T> : IRepository<T> where T : class, IEntity {
        Task BulkInsertAsync(IEnumerable<T> datas);

        Task BulkUpdateAsync(IEnumerable<T> datas);


        Task BulkDeleteAsync(IEnumerable<T> datas);
    }

    public interface IExtendRepository<TDbContext, T, TKey> : IRepository<T, TKey> where T : class, IEntity<TKey> {
        Task BulkInsertAsync(IEnumerable<T> datas);

        Task BulkUpdateAsync(IEnumerable<T> datas);

        Task BulkDeleteAsync(IEnumerable<T> datas);
    }




}
